package ioc.demo.bean;

/**
 * 描述:
 *
 * @author Zhanggq
 * @date 2019/9/19 10:34
 */
public class HelloWorld {

    private String name;

    private int age;

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void sayHello() {
        System.out.println(String.format("%s你好,年龄%s", name, age));
    }

}
